<?php if ($this->menu): ?>
    <div class="box-right">
        <div class="title">Profile Menu</div>
        <div class="text-box">
            <ul class="event menu-list">
                <li><a href="<?php echo url('profile/index'); ?>">Edit Account Profile</a></li>
                <li><a href="<?php echo url('profile/changepass'); ?>">Change Password</a></li>
                <li><a href="<?php echo url('profile/messages'); ?>">Message</a></li>
                <li><a href="<?php echo url('profile/certifications'); ?>">My Certifications</a></li>
                <li><a href="<?php echo url('profile/expirations'); ?>">Certification Expirations</a></li>
                <!--                <li><a href="#">Upcoming Training</a></li>-->
            </ul>
        </div>
    </div><!--box-right-->
    <?php
endif;
if ($this->education):
    ?>
    <div class="box-right">
        <div class="title">Education</div>
        <div class="text-box">
            <ul class="event menu-list">
                <?php
                if ($events):
                    foreach ($events as $value):
                        ?>
                        <li><a href="<?php echo url('site/education', array('slug' => $value['node_alias'])); ?>">
                                <?php echo $value['node_title']; ?></a></li>
                        <?php
                    endforeach;
                endif;
                ?>
            </ul>
        </div>
    </div><!--box-right-->
    <?php
endif;
if ($this->people):
    ?>
    <div class="box-right">
        <div class="title">People You May Know</div>
        <div class="text-box">
            <ul class="list-messa">
                <li>
                    <p><img src="<?php echo www(); ?>images/hinh.jpg"></p>
                    <p class="con-messa">
                        <a href=""><strong>Rahul Dravid</strong></a>
                        Web Developer at Innoxoft
                        <a href="#"><i class="icon-plus-sign"></i> Connect</a>
                    </p>
                </li>
                <li>
                    <p><img src="<?php echo www(); ?>images/hinh1.jpg"></p>
                    <p class="con-messa">
                        <a href=""><strong>Rahul Dravid</strong></a>
                        Web Developer at Innoxoft
                        <a href="#"><i class="icon-plus-sign"></i> Connect</a>
                    </p>
                </li>
                <li>
                    <p><img src="<?php echo www(); ?>images/hinh2.png"></p>
                    <p class="con-messa">
                        <a href=""><strong>Rahul Dravid</strong></a>
                        Web Developer at Innoxoft
                        <a href="#"><i class="icon-plus-sign"></i> Connect</a>
                    </p>
                </li>
            </ul>

        </div>
    </div><!--box-right-->
    <?php
endif;
if ($this->event):
    ?>
    <div class="box-right">
        <div class="title">Upcoming events</div>
        <div class="text-box">
            <ul class="event">
                <?php
                if ($events):
                    foreach ($events as $value):
                        ?>
                        <li><a href="<?php echo url('site/event', array('slug' => $value['node_alias'])); ?>">
                                <?php echo $value['node_title']; ?></a></li>
                        <?php
                    endforeach;
                endif;
                ?>
            </ul>
        </div>
    </div><!--box-right-->
<?php endif; ?>